package com.grad.webstudy.service;

import com.grad.webstudy.model.Message;
import com.grad.webstudy.vo.MessageVo;

import java.util.List;

/**
 * @Description:
 * @Author: zjf
 * @Date: 2020/1/28 9:45.
 */
public interface MessageService {


    /**
     * 记录历史消息
     * @param message
     * @param receiveId
     * @return
     */
    boolean recordHistoryMessage(String message,Integer receiveId);



    List<MessageVo> queryHistoryMessages(Integer receiveId);
}
